package top.fullj.remoting;

import top.fullj.remoting.provider.Provider;

/**
 * @author bruce.wu
 * @since 2022/2/14 14:04
 */
@Provider(name = "helloService", type = HelloService.class)
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello() {
        return "hello";
    }

    @Override
    public String sayHello(String name) {
        return "hello " + name;
    }

    @Override
    public String sayHello(String name, int level) {
        return "hello " + name + ", level " + level;
    }

}
